package com.example.backend.dto;

import lombok.Data;
import lombok.Builder;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.time.Instant;

/**
 * 用户信息DTO
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserDto {
    
    private Long id;
    private String username;
    private String fullName;
    private String email;
    private String phone;
    private String avatarUrl;
    private String department;
    private String position;
    private String employeeId;
    private String role;
    private String status;
    private Instant lastLoginAt;
    private Integer loginCount;
    private Instant createdAt;
    private Instant updatedAt;
}